<?php
// 常用的状态码和消息对应数组
return [
    0 => '操作成功',
    100001 => '参数校验不合法',
    100002 => 'Page or limit is invalid',
    100003 => '参数不能为空',
    100004 => '系统已存在重复数据,请勿重复操作',

    100041 => '请上传文件后重新操作',
    100042 => '上传目录不合法',
    100043 => '不支持的文件类型',
    100044 => '',
    100045 => '生成缩略图失败',

    /*OPEN API*/

    100100 => '请求参数异常',
    100101 => '请求已过期',
    100102 => '签名不匹配',


    /** logistics start */
    100200 => 'to_nation is invalid',
    100201 => 'terms is invalid',
    100202 => 'prescription is invalid',
    100203 => 'product_list is invalid',
    100204 => 'product_list.id is invalid',
    100205 => 'product_list.wid is invalid',
    100206 => 'product_list.billing_weight is invalid',
    100207 => 'product_list.num is invalid',
    100208 => 'product_list.free_shipping is invalid',
    100209 => 'product_list.apply_rules is invalid',
    /** logistics end */


    /** authorization  department start */
    100300 => '部门名称重复',
    /** authorization  department end */


    /** PurchaseLogistics start */
    100400 => '采购单ID 无效',
    /** PurchaseLogistics   end */


    /** DingTalk start */
    100500 => '无效url',
    100501 => '无效dingtalk_group_id',
    /** DingTalk   end */


    /** Order start */
    100600 => '无效url',
    /** Order   end */


    /** LogisticsRules start */
    100700 => '参数无效',
    /** LogisticsRules   end */

    /** Serialnumber start */
    100800 => '商品不存在',
    100801 => '生成SN码失败',
    100802 => 'SN码不存在',
    100803 => 'SN码已被使用,无法废弃',
    100804 => '仓库不存在',
    100805 => 'SN码已被使用,无法入库',
    100806 => 'SN码对应仓库不一致,无法出库',
    100807 => '已存在该操作记录,无法重复操作',
    /** Serialnumber end */

    200001 => '数据重复',

    500001 => '操作失败',
    400000 => '未找到相关数据',
];
